#ifndef OPERATEWIDGET_H
#define OPERATEWIDGET_H

#include <QWidget>
#include <QListWidget>
#include "friend.h"
#include "book.h"

class OperateWidget : public QWidget
{
    Q_OBJECT
public:
    explicit OperateWidget(QWidget *parent = nullptr);

    static OperateWidget& getInstance();

    Friend* getFriend();
    Book* get_book();

private:
    QListWidget *m_list_widget;

    Friend* m_friend;
    Book* m_book;

signals:
};

#endif // OPERATEWIDGET_H
